import axios from "axios";

const sphIns = axios.create({
    baseURL:"http://39.98.123.211",
    timeout:2000
})
sphIns.interceptors.request.use(function(config){
    return config
})

sphIns.interceptors.response.use(function(res){
    return res.data
},function(err){
    return Promise.reject(err)
})

export default sphIns